            <div id="time-select">
                <%  var i = 0;
                    for (item in tableData) {
                    i++;
                %>
                    <%if (i == 1) {%>
                        <span class="time-active" data-id="<%=i%>"><%=item%></span>
                    <%} else {%>
                        <span data-id="<%=i%>"><%=item%></span>
                    <% }
                } %>
            </div>
            <table class="time-table">
                <thead>
                    <tr>
                        <th>
                            放映时间
                        </th>
                        <th>
                            语言版本
                        </th>
                        <th>
                            价格
                        </th>
                        <th>
                            选座
                        </th>
                    </tr>
                </thead>
            </table>
            <%  var i = 0;
                for (item in tableData) {
                i++;
            %>
                <%if (i == 1) {%>
                <div class="book-table" id="table-<%=i%>">
                <%} else {%>
                <div class="book-table hidden" id="table-<%=i%>">
                <% } %>
                    <table class="time-table">
                        <tbody>
                        <%for (var j = 0; j < tableData[item].length; j++) {%>
                            <tr>
                                <td>
                                    <%=tableData[item][j]["showingTime"].getHours() + "." + tableData[item][j]["showingTime"].getMinutes()%>
                                </td>
                                <td>
                                    <%=tableData[item][j]["showingType"]%>
                                </td>
                                <td class="price">
                                    <%=tableData[item][j]["showingPrice"]%>
                                </td>
                                <td>
                                    <div data-movieId="<%=tableData[item][j]['movieId']%>" data-showingId="<%=tableData[item][j]['showingId']%>" data-showingPrice="<%=tableData[item][j]['showingPrice']%>" data-roomId="<%=tableData[item][j]['roomId']%>" data-showingTime="<%=tableData[item][j]['showingTime'].toLocaleString()%>" class="button book-button">
                                        选座
                                    </div>
                                </td>
                            </tr>
                        <%}%>
                        </tbody>
                    </table>
                </div>
            <% } %>
<form id="chooseSeatForm" action="/chooseSeat" method="post" class="hidden">
</form>